package top.weiyuexin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import top.weiyuexin.pojo.User;


@Mapper
public interface UserMapper extends BaseMapper<User> {

    public User findByUsernameAndPassword(@Param("username") String username,
                                          @Param("password") String password);
}
